﻿<UserControl x:Class="JustPlus.OperationPanel"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="256" d:DesignWidth="256" Loaded="UserControl_Loaded">
    <Grid ShowGridLines="False" MouseEnter="Grid_MouseEnter" MouseLeave="Grid_MouseLeave">
        <Grid.Background>
            <SolidColorBrush />
        </Grid.Background>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="85*" />
            <ColumnDefinition Width="85*" />
            <ColumnDefinition Width="86*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="85*" />
            <RowDefinition Height="85*" />
            <RowDefinition Height="86*" />
        </Grid.RowDefinitions>
        <Image Grid.Column="0" Grid.Row="0" Height="85" HorizontalAlignment="Left" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="85" Source="/JustPlus;component/Images/public.png" MouseLeftButtonDown="image1_MouseLeftButtonDown" />
        <Image Grid.Column="1" Grid.Row="0" Height="85" HorizontalAlignment="Left" Name="image2" Stretch="Fill" VerticalAlignment="Top" Width="85" Source="/JustPlus;component/Images/search.png" MouseLeftButtonDown="image2_MouseLeftButtonDown" />
        <Image Grid.Column="2" Grid.Row="0" Height="85" HorizontalAlignment="Left" Name="image3" Stretch="Fill" VerticalAlignment="Top" Width="86" Source="/JustPlus;component/Images/musingene.png" MouseLeftButtonDown="image3_MouseLeftButtonDown" />
        <Image Grid.Column="0" Grid.Row="1" Height="85" HorizontalAlignment="Left" Name="image4" Stretch="Fill" VerticalAlignment="Top" Width="86" Source="/JustPlus;component/Images/loginout.png" MouseLeftButtonDown="image4_MouseLeftButtonDown" />
        <Image Grid.Column="2" Grid.Row="1" Height="85" HorizontalAlignment="Left" Name="image5" Stretch="Fill" VerticalAlignment="Top" Width="88" Source="/JustPlus;component/Images/setting.png" MouseLeftButtonDown="image5_MouseLeftButtonDown" />
        <Image Grid.Column="0" Grid.Row="2" Height="85" HorizontalAlignment="Left" Name="image6" Stretch="Fill" VerticalAlignment="Top" Width="85" Source="/JustPlus;component/Images/help.png" MouseLeftButtonDown="image6_MouseLeftButtonDown" />
        <Image Grid.Column="1" Grid.Row="2" Height="85" HorizontalAlignment="Left" Name="image7" Stretch="Fill" VerticalAlignment="Top" Width="85" Source="/JustPlus;component/Images/update.png" MouseLeftButtonDown="image7_MouseLeftButtonDown" />
        <Image Grid.Column="2" Grid.Row="2" Height="85" HorizontalAlignment="Left" Name="image8" Stretch="Fill" VerticalAlignment="Top" Width="88" Source="/JustPlus;component/Images/about.png" MouseLeftButtonDown="image8_MouseLeftButtonDown" />
        <Label Grid.Column="1" Grid.Row="1" Height="85" HorizontalAlignment="Left" Name="label1" VerticalAlignment="Top" Width="85" FontSize="18" FontWeight="Bold" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" />

        <Grid.RenderTransform>
            <TransformGroup>
                <TranslateTransform x:Name="grid_translate"/>
            </TransformGroup>
        </Grid.RenderTransform>
        <Grid.Triggers>
            <EventTrigger RoutedEvent="Grid.Loaded">
                <BeginStoryboard>
                    <Storyboard>
                        <DoubleAnimation Storyboard.TargetName="grid_translate" Storyboard.TargetProperty="X" From="256" To="0" Duration="0:0:0.5"/>
                    </Storyboard>
                </BeginStoryboard>
            </EventTrigger>
        </Grid.Triggers>
    </Grid>
</UserControl>
